import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { BpmnViewerComponent } from './bpmn-viewer/bpmn-viewer.component';

const routes: Routes = [
    {
        path: 'bpmn-viwer',
        component: BpmnViewerComponent,
    },
    {
        path: '',
        redirectTo: '/bpmn-viwer',
        pathMatch: 'full'
    }
];

@NgModule({
    imports: [RouterModule.forRoot(routes)],
    exports: [RouterModule]
})
export class AppRoutingModule { }
